This chapter describes how to use the DHCP server configuration and operating commands and includes the following sections:
Use the following procedure to access the DHCP server configuration process.
* talk 6
Config>
After you enter the talk 6 command, the Config prompt (Config>) displays on the terminal. If the prompt does not appear when you first enter configuration, press Return again.
Table 61. DHCP Server Configuration Command Summary
| Command | Function |
|---|---|
| ? (Help) | Displays all the commands available for this command level or lists the options for specific commands (if available). See "Getting Help". |
| Add | Adds a class, client, subnet, or vendor-option. |
| Change | Changes the definition of a class, client, subnet, or vendor-option. |
| Default | Returns certain global variables to their default values. |
| Delete | Deletes a class, subnet, or vendor-option. |
| Disable | Disables DHCP Server globally. |
| Enable | Enables DHCP Server globally. |
| List | Lists definitions of a class, client, globals, subnet, or vendor-option. |
| Set | Sets definitions for global parameters or options under a specified scope. |
| Exit | Returns you to the previous command level. See "Exiting a Lower Level Environment". |
Use the add command to add a class, subnet or vendor-option.
Syntax:
Valid Values: global or subnet
Default Value: None
Valid Values: Any existing subnet name
Default Value: None
Valid Values: An ASCII string up to 40 characters in length
Default Value: None
Valid Values: Any valid IP address within the range of the subnet to which the class is being added.
Default Value: The first IP address of the subnet range belonging to the specified subnet.
Valid Values: Any valid IP address within the range of the subnet to which the class is being added. This value must be greater than the value specified for range-start.
Default Value: The starting IP address plus 5 of the subnet range belonging to the specified subnet. If the resulting IP address is no longer within the subnet range, then the default is the ending IP address of the subnet range.
Example: DHCP Server config> add class global Enter class name? ClassA DHCP Server config> add class subnet Enter the subnet name[]? subA Enter class name[]? ClaA Enter start of IP address range[10.1.1.1]? Enter end of IP address range[10.1.1.6]?
Valid Values: global or subnet
Default Value: None
Valid Values: Any existing subnet name
Default Value: None
Valid Values: Any 10-character ASCII string
Valid Values:
Default Value: 1
| Note: | An id-type of 0 and an id-value of 0 indicates that the specified IP address should not be distributed by the server. |
Valid Values: 0 or any valid MAC address (12 hexadecimal digits)
Default Value: None
Valid Values:
Default Value: None
| Note: | An id-type of 0 and an id-value of 0 indicates that the specified IP address should not be distributed by the server. |
Example:
DHCP Server config> add client global
Enter the client name []? ClientA
Enter the client's hardware type (0 - 21) [1]? 0
Enter the client ID (MAC address or string) []? ClientA
Enter the client's IP address (IP address, any, none) []? 9.1.1.1
Client record with name ClientA has been added
DHCP Server config> add client subnet
Enter the subnet name []? subA
Enter the client name []? CliA
Enter the client's hardware type (0 - 21) [1]? 1
Enter the client ID (MAC address or string) []? 400000000010
Enter the client's IP address (IP address, any, none) []? 10.1.1.10
Client record with name CliA has been added
Valid Values:
Default Value: None
Valid Values: Any existing subnet name
Default Value: None
Valid Values: An existing class name
Default Value: None
Valid Values: Any existing client name
Default Value: None
Valid Values: Any existing vendor name
Default Value: None
Valid Values: 1 - 255
Default Value: 1
Example:
DHCP Server config> add option global
Enter the option code [1]? 3
Enter the option data []? 9.167.100.1
Example:
DHCP Server config> add option subnet
Enter the subnet name []? subA
Enter the option code [1]? 3
Enter the option data []? 9.167.100.1
Example:
DHCP Server config> add option class-global
Enter the class name []? ClassA
Enter the option code [1]? 3
Enter the option data []? 9.167.100.1
Example:
DHCP Server config> add option client
Enter the client name []? ClientA
Enter the option code [1]? 3
Enter the option data []? 9.167.100.1
Example:
DHCP Server config> add option class-subnet
Enter the subnet name []? subA
Enter the class name []? ClaA
Enter the option code [1]? 3
Enter the option data []? 9.167.100.1
Example:
DHCP Server config> add option client-subnet
Enter the subnet name []? subA
Enter the client name []? CliA
Enter the option code [1]? 3
Enter the option data []? 9.167.100.1
Example:
DHCP Server config> add option vendor-option
Enter the vendor name []? 200
Enter the option code [1]? 85
Enter the option data []? hex:01 AA 04
Example:
DHCP Server config> add option vendor-option
Enter the vendor name []? 200
Enter the option code [1]? 86
Enter the option data []? 9.67.85.4
Valid Values: Any 10-character ASCII string
Default Value: None
Valid Values: Any valid IP subnet address
Default Value: None
Valid Values: Any valid IP mask in dotted decimal format
Default Value: Calculated based upon the subnet address
Valid Values: Any valid IP host address within the specified subnet in dotted decimal format
Default Value: The first IP address of the subnet
Valid Values: Any valid IP host address within the specified subnet in dotted decimal format
Default Value: range-start plus 50. If the resulting IP address is no longer within the subnet, then the default is the last IP address in the subnet.
Valid Values: Any ASCII string up to 64 characters in length
Default Value: None
Valid Values: 1 - 65535
Default Value: 1
Valid Values: Inorder or Balance
Default Value: If this is a new subnet, the default is Inorder. Otherwise, it is the current policy list to which the subnet group belongs.
Example:
DHCP Server config> add subnet
Enter the subnet name []? subA
Enter the IP subnet []? 10.1.1.0
Enter the IP subnet mask [255.255.255.0]?
Enter start of IP address range [10.1.1.1]?
Enter end of IP address range [10.1.1.31]?
Enter the subnet group name []? group1
Enter the subnet group priority (1 - 65535) [1]?
Enter the access policy list (Inorder or Balance) [Inorder]?
Subnet record with name sub1 has been added
Subnet group group1 is being added to the Inorder List
Valid Values: An ASCII string up to 40 characters in length
Default Value: None
Valid Values: Any valid hexadecimal string in the following format: 01 aa 04
Default Value: None
Example:
DHCP Server config> add vendor-option
Enter the vendor name []? XA-client
Enter the vendor hex data [] 01 aa 04?
Vendor-option record with name XA-client has been added
Use the change command to modify the configuration of a class, client, subnet or vendor-option.
Syntax:
Valid Values: global or subnet
Default Value: None
Valid Values: Any existing subnet name.
Default Value: None
Valid Values: Name of an existing class
Default Value: None
Valid Values: An ASCII string up to 40 characters in length
Default Value: Existing class name
Valid Values: Any IP address within the subnet range
Default Value: Existing range-start
Valid Values: Any valid IP address within the subnet range, greater than new-range-end
Default Value: Existing range-end
Example:
DHCP Server config> change class global
Enter the class name []? ClassA
Enter the new class name [ClassA]?
Example:
DHCP Server config> change class subnet
Enter the subnet name []? subA
Enter the class name []? ClaA
Enter the new class name [ClaA]?
Enter start of IP address range [10.1.1.1]?
Enter end of IP address range [10.1.1.6]?
Valid Values: global or subnet
Default Value: None
Valid Values: Any existing subnet name
Default Value: None
Valid Values: An existing client name
Default Value: None
Valid Values: An ASCII string up to 10 characters in length
Default Value: Existing client name
Valid Values: 0 - 21 See page ***.
Default Value: Existing hardware type of the client
Valid Values: 0 or any valid MAC address (12 hexadecimal digits)
Default Value: Existing client id-type
| Note: | An id-type of 0 and an id-value of 0 indicates that the specified IP address should not be distributed by the server. |
Valid Values:
Default Value: None
| Note: | An id-type of 0 and an id-value of 0 indicates that the specified IP address should not be distributed by the server. |
Example:
DHCP Server config> change client global
Enter the client name []? ClientA
Enter the new client name [ClientA]?
Enter the new client hardware type (0 - 21) [0]?
Enter the new client ID [ClientA]?
Enter the client's new IP address (IP address, any, none) [9.1.1.1]?
Client ClientA has been changed
Example:
DHCP Server config> change client subnet
Enter the subnet name []? subA
Enter the client name []? CliA
Enter the new client name [ClientA]?
Enter the new client hardware type (0 - 21) [1]?
Enter the new client ID [400000000010]?
Enter the client's new IP address (IP address, any, none) [10.1.1.10]?
Client CliA has been changed
Valid Values: An existing subnet name
Default Value: None
Valid Values: Any 10-character ASCII string
Default Value: Original subnet name
Valid Values: Any valid IP subnet address
Default Value: Existing subnet address
Valid Values: Any valid IP mask
Default Value: Existing subnet mask
Valid Values: Any valid IP address within the subnet range
Default Value: Existing pool starting address
Valid Values: Any valid IP address within the subnet range and larger than the starting pool address
Default Value: Existing pool ending address
Example:
DHCP Server config> change subnet
Enter the subnet name []? subA
Enter the new subnet name [subA]?
Enter the new IP subnet[10.1.1.0]?
Enter the new IP subnet mask[255.255.0.0]?
Enter new start of IP address range [10.1.1.1]?
Enter new end of IP address range [10.1.1.31]?
Enter the new subnet group name [group11]?
Enter the new subnet group priority [1]?
Enter the new access policy list (Inorder or Balance) [Inorder]?
Valid Values: An existing vendor name
Default Value: None
Valid Values: An ASCII string up to 40 characters in length
Default Value: Existing vendor option name
Valid Values: Any valid hexadecimal string
Default Value: Existing hexadecimal string
Example:
DHCP Server config> change vendor-option
Enter the vendor name []? XA-clients
Enter the new vendor name [XA-clients]?
Enter the new vendor data [01 aa 04]?
Use the delete command to delete a class, client, option, subnet, subnet-group, or vendor-option.
Syntax:
Valid Values: global or subnet
Default Value: None
Valid Values: Any existing subnet name
Default Value: None
Valid Values: An existing class name
Default Value: None
Example:
DHCP Server config> delete class global
Enter the class name []? ClassA
Example:
DHCP Server config> delete class subnet
Enter the subnet name []? subA
Enter the class name []? ClaA
Valid Values: global or subnet
Default Value: None
Valid Values: An existing subnet name
Default Value: None
Valid Values: An existing client name
Default Value: None
Example:
DHCP Server config> delete client global
Enter the client name []? ClientA
Example:
DHCP Server config> delete client subnet
Enter the subnet name []? subA
Enter the client name []? CliA
Valid Values:
Default Value: None
Valid Values: Any existing subnet name
Default Value: None
Valid Values: An existing class name
Default Value: None
Valid Values: Any existing client name
Default Value: None
Valid Values: Any existing vendor name
Default Value: None
Valid Values: 1 - 255
Default Value: 1
Example:
DHCP Server config> delete option global
Enter the option code [1]? 3
Example:
DHCP Server config> delete option subnet
Enter the subnet name []? subA
Enter the option code [1]? 3
Example:
DHCP Server config> delete option class-global
Enter the class name []? ClassA
Enter the option code [1]? 3
Example:
DHCP Server config> delete option client
Enter the client name []? ClientA
Enter the option code [1]? 3
Example:
DHCP Server config> delete option class-subnet
Enter the subnet name []? subA
Enter the class name []? ClaA
Enter the option code [1]? 3
Example:
DHCP Server config> delete option client-subnet
Enter the subnet name []? subA
Enter the client name []? CliA
Enter the option code [1]? 3
Example:
DHCP Server config> delete option vendor-option
Enter the vendor name []? XI-clients
Enter the option code [1]? 85
Example:
DHCP Server config> delete option vendor-option
Enter the vendor name []? 200
Enter the option code [1]? 86
Valid Values: Any existing subnet name
Default Value: None
Example:
DHCP Server config> delete subnet
Enter the subnet name []? subA
You are about to delete a subnet subA
and all the associated class, client, and option records associated with it
Are you sure you want to continue? [No]:
Valid Values: An existing subnet group name
Default Value: None
Example:
DHCP Server config> delete subnet-group
Enter the subnet group name []? group2
You are about to delete a all subnets in group group2
and all the associated class, client, and option records associated with them
Are you sure you want to continue? [No]:
Valid Values: An ASCII string up to 40 characters in length
Default Value: None
Example:
DHCP Server config> delete vendor-option
Enter the vendor name []? XA-clients
Use the disable command to disable DHCP server globally.
Syntax:
Example: DHCP Server config> disable dhcp-server
Use the enable command to enable DHCP server globally.
Syntax:
Example: DHCP Server config> enable dhcp-server
Use the list command to list configuration information about a class, client, global parameters, subnets or vendor-options and any associated options.
Syntax:
Lists either a summary of all the configured classes or the details of a specific class.
Valid Values: An existing class name
Default Value: None
Example:
DHCP Server config> list class all
class attached
name to subnet
--------------------------------------------------------------
ClassA
ClaA subA
Example:
DHCP Server config> list class global
Enter the class name []? ClassA
class
name
---------------------------------------------------------------
ClassA
Bootstrap Server: 100.100.100.100
Canonical: Yes
Support Unlisted Clients: Yes
Number of Options: 1
option option
code data
---------------------------------------------------------------
1 255.255.0.0
Example:
DHCP Server config> list class subnet
Enter the subnet name []? subA
Enter the class name []? ClaA
class
name
---------------------------------------------------------------
ClaA
starting IP address: 10.1.1.3
ending IP address: 10.1.1.5
Bootstrap Server: 100.100.100.100
Canonical: Yes
Support Unlisted Clients: DHCP
Number of Options: 1
option option
code data
---------------------------------------------------------------
6 9.67.100.1
Lists either a summary of all the configured clients or the details of a specific client.
Valid Values: An existing client name
Default Value: None
Example:
DHCP Server config> list client all
client client client attached IP
name type identifier to subnet address
------------------------------------------------------------------------------
ClientA 0 ClientA 9.1.1.1
CliA 1 400000000010 subA 10.1.1.10
Example:
DHCP Server config> list client global
Enter the client name []? ClientA
Example:
DHCP Server config> list client subnet
Enter the subnet name []? subA
Enter the client name []? CliA
client client client IP
name type identifier address
--------------------------------------------------------------------
CliA 1 400000000010 10.1.1.10
Bootstrap Server: 200.200.200.200
Canonical: Yes
Number of Options: 1
option option
code data
---------------------------------------------------------------
6 9.67.100.1
Lists global parameters.
Example:
DHCP Server config> list global
DHCP server Global Parameters
=============================
DHCP server enabled: Yes
Balance: group2
Inorder: group1
Canonical: No
Lease Expire Interval: 1 minute(s)
Lease Time Default: 1 day(s)
Support BOOTP Clients: No
Bootstrap Server: Not configured
Support Unlisted Clients: Yes
Ping Time: 1 second(s)
Used IP Address Expire Interval: 15 minute(s)
Valid Values:
Default Value: None
Valid Values: Any existing subnet name
Default Value: None
Valid Values: An existing class name
Default Value: None
Valid Values: Any existing client name
Default Value: None
Valid Values: Any existing vendor name
Default Value: None
Valid Values: 1 - 255
Default Value: 1
Example:
DHCP Server config> list option global
option option
code data
---------------------------------------------------------------
3 9.67.100.1
Example:
DHCP Server config> list option class-global
Enter the class name []? ClassA
option option
code data
---------------------------------------------------------------
3 9.67.100.1
Example:
DHCP Server config> list option class-subnet
Enter the subnet name []? subA
Enter the class name []? claA
option option
code data
---------------------------------------------------------------
3 9.67.100.1
Example:
DHCP Server config> list option client-global
Enter the client name []? ClientA
option option
code data
---------------------------------------------------------------
3 9.67.100.1
Example:
DHCP Server config> list option client-subnet
Enter the subnet name []? subA
Enter the client name []? cliA
option option
code data
---------------------------------------------------------------
3 9.67.100.1
Example:
DHCP Server config> list option subnet
Enter the subnet name []? subA
option option
code data
---------------------------------------------------------------
6 9.67.100.1
Example:
DHCP Server config> list option vendor-option
Enter the vendor name []? XI-clients
option option
code data
---------------------------------------------------------------
85 hex:01 aa 04
86 9.67.85.4
Lists either a summary of all the configured subnets or the details of a specific subnet.
Valid Values: An existing subnet name
Default Value: None
Example:
DHCP Server config> list subnet all
name address mask IP Addr IP Addr
-------------------------------------------------------------------------
subA 10.1.1.0 255.255.0.0 10.1.1.1 10.1.1.31
subB 11.1.1.0 255.255.0.0 11.1.1.1 11.1.1.31
Example:
DHCP Server config> list subnet detailed
Enter the subnet name []? subA
subnet subnet subnet starting ending
name address mask IP Addr IP Addr
-------------------------------------------------------------------------
subA 10.1.1.0 255.255.0.0 10.1.1.1 10.1.1.31
Subnet Group: group1/1
Number of Classes: 1
class
name
---------------------------------------------------------------
ClaA
starting IP address: 10.1.1.1
ending IP address: 10.1.1.6
Bootstrap Server: 100.100.100.100
Canonical: Yes
Support Unlisted Clients: DHCP
Number of Options: 1
option option
code data
---------------------------------------------------------------
6 9.67.100.1
Number of Clients: 1
client client client IP
name type identifier address
--------------------------------------------------------------------
CliA 1 400000000010 10.1.1.10
Bootstrap Server: 200.200.200.200
Canonical: Yes
Number of Options: 1
option option
code data
---------------------------------------------------------------
6 9.67.100.1
Number of Options: 1
option option
code data
---------------------------------------------------------------
1 255.255.255.0
Lists either a summary of all the configured vendors or the details of a specific vendor-option.
Valid Values: An existing vendor-name
Default Value: None
Example:
DHCP Server config> list vendor-option all
vendor hex
name data
---------------------------------------------------------------
XA-clients 01 AA 04
XI-clients
DHCP Server config> list vendor-option detailed
Enter the vendor name []? XI-clients
vendor hex
name data
---------------------------------------------------------------
XI-clients
Number of Options: 2
option option
code data
---------------------------------------------------------------
85 hex:01 AA 04
86 9.67.85.4
Use the set command to specify values for global parameters and to add subnet groups to the Balance and Inorder lists.
Syntax:
Valid Values: An existing subnet group name
Default Value: None
Example:
DHCP Server config> set balance
Enter the subnet group name []? group1
Valid Values:
Default Value: None
Valid Values: An existing subnet name
Default Value: None
Valid Values: An existing class name
Default Value: None
Valid Values: An existing client name
Default Value: None
Valid Values: Any valid IP address in dotted decimal format
Default Value: None
Example:
DHCP Server config> set bootstrap-server class-global
Enter the class name []? ClassA
Enter the IP address of the server []? 100.100.100.100
Example:
DHCP Server config> set bootstrap-server class-subnet
Enter the subnet name []? subA
Enter the class name []? ClassA
Enter the IP address of the server []? 100.100.100.100
Example:
DHCP Server config> set bootstrap-server client-global
Enter the client name []? ClientA
Enter the IP address of the server []? 100.100.100.100
Example:
DHCP Server config> set bootstrap-server client-subnet
Enter the subnet name []? subA
Enter the client name []? ClientA
Enter the IP address of the server []? 100.100.100.100
Example:
DHCP Server config> set bootstrap-server global
Enter the IP address of the server []? 100.100.100.100
Example:
DHCP Server config> set bootstrap-server subnet
Enter the subnet name []? subA
Enter the IP address of the server []? 100.100.100.100
MAC addresses for Ethernet/802.3 clients are stored in the canonical (byte starts with least significant bit) format. MAC addresses for Token-Ring clients are stored in the non-canonical (byte starts with most significant bit) format. This parameter should be used when the DHCP server is on one media type (Token-Ring or Ethernet/802.3), the client is on the other media type and there is a translational bridge between the two. When this parameter is set to yes, the DHCP server will cause the client's MAC address to be flipped from either canonical to non-canoncial or non-canonical to canonical. Since the DHCP server does not know which format the MAC address is originally in, setting this parameter to yes will just flip the address. Canonical can be set within the global, subnet, class or client scope.
Valid Values:
Default Value: None
Valid Values: An existing subnet name
Default Value: None
Valid Values: An existing class name
Default Value: None
Valid Values: An existing client name
Default Value: None
Valid Values: yes, no
Default Value: no, if the scope is global. Otherwise, the default value is determined by the scope hierarchy. See "Concepts and Terminology" for an explanation of scope.
Example: DHCP Server config> set canonical class-global Enter the class name []? ClassA Would you like MAC addresses to be transformed to canonical format? [No] yes Example: DHCP Server config> set canonical class-subnet Enter the subnet name []? subA Enter the class name []? ClassA Would you like MAC addresses to be transformed to canonical format? [No] yes Example: DHCP Server config> set canonical client-global Enter the client name []? ClientA Would you like MAC addresses to be transformed to canonical format? [No] yes Example: DHCP Server config> set canonical client-subnet Enter the subnet name []? subA Enter the client name []? ClientA Would you like MAC addresses to be transformed to canonical format? [No] yes Example: DHCP Server config> set canonical global Would you like MAC addresses to be transformed to canonical format? [No] yes Example: DHCP Server config> set canonical subnet Enter the subnet name []? subA Would you like MAC addresses to be transformed to canonical format? [No] yes
Valid Values: An existing subnet group name
Default Value: None
Example:
DHCP Server config> set inorder
Enter the subnet group name []? g2
Valid Values: seconds, minutes, hours
Default Value: None
Valid Values: 15 seconds - 12 hours
Default Value:
Example:
DHCP Server config> set lease-expire-interval seconds
How long is the interval in seconds (max:59) [15]? 59
Example:
DHCP Server config> set lease-expire-interval minutes
How long is the interval in minutes (max:59) [1]? 45
Example:
DHCP Server config> set lease-expire-interval hours
How long is the interval in hours (max:12) [1]? 2
Valid Values: minutes, hours, days, weeks, months, years, infinity
Default Value: None
Valid Values: 3 minutes - infinity
Default Value:
Example:
DHCP Server config> set lease-time-default minutes
How long is the interval in minutes (max:59) [3]? 2
Example:
DHCP Server config> set lease-time-default hours
How long is the interval in hours (max:23) [1]? 12
Example:
DHCP Server config> set lease-time-default days
How long is the interval in days (max:6) [1]? 2
Example:
DHCP Server config> set lease-time-default weeks
How long is the interval in weeks (max:3) [1]? 1
Example:
DHCP Server config> set lease-time-default months
How long is the interval in months (max:11) [1]? 3
Example:
DHCP Server config> set lease-time-default years
How long is the interval in years (max:10) [1]? 3
Example:
DHCP Server config> set lease-time-default infinity
Before assigning an IP address, the DHCP server tests to be sure the IP address is not in use. This value specifies how long the DHCP server will wait for a ping response before marking the address available. A value of 0 disables pings, resulting in the DHCP server not testing an address before assigning it.
Valid Values: seconds
Default Value: None
Valid Values: 0 - 5 seconds
Default Value: 1
Example: DHCP Server config> set ping-time seconds How long is the interval in seconds (max:5) [1]? 3
Valid Values: yes or no
Default Value: no
Example:
DHCP Server config> set support-bootp
Would you like the server to support BOOTP clients? [No] yes
Valid Values:
Default Value: None
Valid Values: An existing subnet name
Default Value: None
Valid Values: An existing class name
Default Value: None
Valid Values: yes, no, bootp, dhcp
Default Value: yes, if the scope is global. Otherwise, the default value is determined by the scope hierarchy. See "Concepts and Terminology" for an explanation of scope.
Example:
DHCP Server config> set support-unlisted-clients class-global yes
Enter the class name []? ClassA
Example:
DHCP Server config> set support-unlisted-clients class-subnet no
Enter the subnet name []? subA
Enter the class name []? ClassA
Example:
DHCP Server config> set support-unlisted-clients global bootp
Example:
DHCP Server config> set support-unlisted-clients subnet dhcp
Enter the subnet name []? subA
Valid Values: seconds, minutes, hours, days, weeks, months, years, infinity
Default Value: None
Valid Values: 30 seconds - infinity
Default Value:
Example:
DHCP Server config> set used-ip-address-expire-interval seconds
How long is the interval in seconds (max:59) [30]? 2
Example:
DHCP Server config> set used-ip-address-expire-interval minutes
How long is the interval in minutes (max:59) [15]? 2
Example:
DHCP Server config> set used-ip-address-expire-interval hours
How long is the interval in hours (max:23) [1]? 5
Example:
DHCP Server config> set used-ip-address-expire-interval days
How long is the interval in days (max:6) [1]? 2
Example:
DHCP Server config> set used-ip-address-expire-interval weeks
How long is the interval in weeks (max:3) [1]? 1
Example:
DHCP Server config> set used-ip-address-expire-interval months
How long is the interval in months (max:11) [1]? 3
Example:
DHCP Server config> set used-ip-address-expire-interval years
How long is the interval in years (max:10) [1]? 3
Example:
DHCP Server config> set used-ip-address-expire-interval infinity
Use the following procedure to access the DHCP server monitoring process.
* talk 5
Config>
After you enter the talk 5 command, the CONFIG prompt (+) displays on the terminal. If the prompt does not appear when you first enter configuration, press Return again.
Table 62. DHCP Server Monitoring Command Summary
| Command | Function |
|---|---|
| ? (Help) | Displays all the commands available for this command level or lists the options for specific commands (if available). See "Getting Help". |
| Disable | Dynamically disables the DHCP server. |
| Enable | Dynamically enables the DHCP server. |
| List | Displays parameters for classes, clients, globals, subnets, and vendor-options. |
| Reset | Dynamically resets the DHCP Server configuration. |
| Request | |
| Exit | Returns you to the previous command level. See "Exiting a Lower Level Environment". |
Use the disable command to dynamically disable the DHCP server.
Syntax:
Use the enable command to dynamically enable the DHCP server.
Syntax:
Use the list command to list configuration information about a class, client, global parameters, subnets or vendor-option and any associated options. See "List" for examples of the list command.
Syntax:
Use the reset command to dynamically reset the DHCP Server configuration.
Syntax:
Example:
DHCP Server> reset dhcp You are about to reset the DHCP Server. Are you sure you want to continue? [No]: y DHCP Server has been reset DHCP Server>
Use the request command to display admin information.
Syntax:
Valid Values: An existing client id
Default Value: None
Example:
DHCP Server> request clientid
Enter the client name []? 0020351FB371
Client id: 1-0x0020351FB371
Status: BOUND
Address last assigned: 192.9.200.10
Most recent lease time: 16:41:25 December 3, 1998
Proxy flag: FALSE
Hostname: Win-XY-1
Domain name: city.net
Valid Values: Any valid IP address of an existing client
Default Value: None
Example:
DHCP Server> request delete
Enter the client's IP address []? 194.3.200.10
Example:
DHCP Server>req ipquery 192.168.8.3 IP address: 192.168.8.3 Status: RECLAIMED Lease time: 86400 seconds Start time: Not Leased Last time leased: 04:16:33 March 9, 1999 DHCP Server>
Valid Values: Any valid IP address in the pool to be displayed
Default Value: None
Example:
DHCP Server> request poolquery
Enter the client's IP address []? 194.3.200.10
IP address: 194.3.200.10
Status: LEASED
Lease time: 86400 seconds
Start time: 16:41:25 December 3, 1998
Last time leased: 16:41:25 December 3, 1998
Client id: 1-0x0020351FB371
Hostname: Win-XY-1
Domain name: city.net
IP address: 194.3.200.11
Status: STOCKED
IP address: 194.3.200.12
Status: STOCKED
Example:
DHCP Server> request stats
Number of DISCOVER requests received: 8
Number of OFFER responses sent: 4
Number of ACK responses sent: 3
Number of NACK responses sent: 0
Number of RELEASE requests received: 0
Number of DECLINE packets received: 0
Number of INFORM requests received: 0
Number of BOOTP requests received: 0
Number of requests received via proxy: 0
Number of UNSUPPORTED requests received: 0
Total number of request/responses: 15
Number of lease expirations: 0
Example:
DHCP Server> request status
IP address: 194.3.200.10
Status: LEASED
Lease time: 86400 seconds
Start time: 16:41:25 December 3, 1998
Last time leased: 16:41:25 December 3, 1998
Client id: 1-0x0020351FB371
Hostname: Win-XY-1
Domain name: city.net
IP address: 194.3.200.11
Status: STOCKED
IP address: 194.3.200.12
Status: STOCKED
IP address: 194.3.200.10
Status: STOCKED
This section describes dynamic reconfiguration (DR) as it affects Talk 6 and Talk 5 commands.
Dynamic Host Configuration Protocol (DHCP) does not support the CONFIG (Talk 6) delete interface command.
The GWCON (Talk 5) activate interface command is not applicable for Dynamic Host Configuration Protocol (DHCP). DHCP configuration is not based upon specific interfaces.
The GWCON (Talk 5) reset interface command is not applicable for Dynamic Host Configuration Protocol (DHCP). DHCP configuration is not based upon specific interfaces.
Dynamic Host Configuration Protocol (DHCP) supports the following Dynamic Host Configuration Protocol (DHCP)-specific GWCON (Talk 5) reset commands:
The following table summarizes the Dynamic Host Configuration Protocol
(DHCP) configuration changes that are activated when the GWCON, feature
DHCP, reset dhcp command is invoked:
| Commands whose changes are activated by the GWCON, feature DHCP, reset dhcp command |
| CONFIG, feature DHCP, add class |
| CONFIG, feature DHCP, add client |
| CONFIG, feature DHCP, add option |
| CONFIG, feature DHCP, add subnet |
| CONFIG, feature DHCP, add vendor-option |
| CONFIG, feature DHCP, change class |
| CONFIG, feature DHCP, change client |
| CONFIG, feature DHCP, change subnet |
| CONFIG, feature DHCP, change vendor-option |
| CONFIG, feature DHCP, delete class |
| CONFIG, feature DHCP, delete client |
| CONFIG, feature DHCP, delete option |
| CONFIG, feature DHCP, delete subnet |
| CONFIG, feature DHCP, delete subnet-group |
| CONFIG, feature DHCP, delete vendor-option |
| CONFIG, feature DHCP, disable dhcp-server |
| CONFIG, feature DHCP, enable dhcp-server |
| CONFIG, feature DHCP, set balance |
| CONFIG, feature DHCP, set bootstrapserver |
| CONFIG, feature DHCP, set canonical |
| CONFIG, feature DHCP, set inorder |
| CONFIG, feature DHCP, set lease-expire-interval |
| CONFIG, feature DHCP, set lease-time-default |
| CONFIG, feature DHCP, set ping-time |
| CONFIG, feature DHCP, set support-bootp |
| CONFIG, feature DHCP, set support-unlisted-clients |
| CONFIG, feature DHCP, set used-ip-address-expire-interval |
Dynamic Host Configuration Protocol (DHCP) supports the following GWCON
commands that temporarily change the operational state of the device.
These changes are lost whenever the device is reloaded, restarted, or you
execute any dynamically reconfigurable command.
| Commands |
| GWCON, feature DHCP, disable dhcp |
| GWCON, feature DHCP, enable dhcp |
All Dynamic Host Configuration Protocol (DHCP) configuration parameters can be changed dynamically.